package com.bh.ledger.convert;

import com.bh.ledger.domain.JcLedgerDetail;
import com.bh.ledger.vo.JcLedgerDetailVo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @Description
 * @Author slx
 * @Date 2024/3/3
 */
@Mapper(componentModel = "spring")
public interface JcLedgerDetailConvert {
    JcLedgerDetailVo toVo(JcLedgerDetail jcLedgerDetail);

    List<JcLedgerDetailVo> toVoList(List<JcLedgerDetail> jcLedgerDetailList);

    JcLedgerDetail toDO(JcLedgerDetailVo jcLedgerDetailVo);
}
